<?php
	session_start(); 
	include("php/conexion.php");
	
	$strSalida = "1@";
	
	$strSalida.= $crlf.'<input type="button" class="boton" value="Inicio" onclick="location.href=\'index.php\'" />';
	
	if (isset($_SESSION['is_logged_in'])) {
		$strSalida.= $crlf.'<input type="button" class="boton" value="Negocios" onclick="location.href=\'negocios.php\'" />';
		
		$strSalida.= $crlf.'<div id="divUser" class="user">' . $_SESSION['NombUsua'];
		$strSalida.= $crlf.'	<input type="button" id="btnLogin" value="LogOut" onclick="abrirLogin();" class="boton" />';
		$strSalida.= $crlf.'</div>'; 
	}
	else {
		$strSalida.= $crlf.'<div id="divUser" class="user">';
		$strSalida.= $crlf.'	<input type="button" id="btnLogin" value="LogIn" onclick="abrirLogin();" class="boton" />';
		$strSalida.= $crlf.'</div>';
	}
	
	$strSalida.= "#4";
	
	echo $strSalida;
?>
